<!DOCTYPE html>
<?php $this->load->helper('url'); ?>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"  lang="sr-RS"> <!--<![endif]-->
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title>HR application • Dynamint</title>
        <meta name="description" content="HR application">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel='shortcut icon' type='image/x-icon' href='/favicon.ico' />
        <!-- Styles -->
        <link rel="stylesheet" href="<?php echo base_url() ?>css/uikit.min.css">
        <link rel="stylesheet" href="<?php echo base_url() ?>css/main.css">
        <link rel="stylesheet" href="<?php echo base_url() ?>css/responsive.css">

        <script src="<?php echo base_url() ?>js/vendor/modernizr-2.6.2.min.js"></script>
        <style type="text/css">
        .nema-komentara .broj-komentara:before {
            display: none;
        }
        </style>
    </head>
    <body class="finalna-verzija">
        <!--[if lt IE 7]>
            <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
        <![endif]-->
        <div class="pristup">
            <div class="uk-badge">administrator</div><br/>
            <div class="uk-badge uk-badge-success">supervizor</div><br/>
            <div class="uk-badge uk-badge-warning">korisnik</div>
        </div>
        <div id="top">
            <div class="uk-container uk-container-center">
                
                <div class="uk-grid">
                    <div class="uk-width-1-4 logo">
                        <div class="uk-width-1-1 "><span>merit</span> plan</div>
                        <div class="uk-width-1-1 logosmall">upravljanje ljudskim resursima<br /> i organizacioni razvoj</div>
                    </div>
                    <div class="uk-width-2-4 uk-text-center"><h2>Opis posla</h2><p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr</p></div>
                    <div class="uk-width-1-4">
                        <div class="uk-grid uk-text-right usertop">
                            <div class="uk-width-3-4"><?php echo $user[0]->first_name ?> <?php echo $user[0]->last_name ?>
                                <?php if ($user[0]->user_level==1): ?>
                                <div class="useruloga">
                                    <div class="uk-badge uk-badge-success">korisnik</div>
                                </div>
                                <?php endif; ?>
                                <?php if ($user[0]->user_level==2): ?>
                                <div class="useruloga">
                                    <div class="uk-badge uk-badge-warnning">supervizor</div>
                                </div>
                                <?php endif; ?>
                                 <?php if ($user[0]->user_level==3): ?>
                                <div class="useruloga">
                                    <div class="uk-badge">administrator</div>
                                </div>
                                <?php endif; ?>
                            </div>
                            <div class="uk-width-1-4 uk-text-center"><span class="uk-icon-user"></span></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    <!--<div id="menu">     
        <div class="uk-container uk-container-center">
  
            <nav class="uk-navbar">
                <ul class="uk-navbar-nav">
                <?php if ($user[0]->user_level>=2): ?>
                    <li><a href="<?php echo base_url() ?>humanresources/kompanije" class="uk-navbar-nav-subtitle">Kompanije<div>i sektori</div></a></li>
                <?php endif; ?>    
                    <li data-uk-dropdown><a href="<?php echo base_url() ?>humanresources/profil_korisnika" class="uk-navbar-nav-subtitle">Profil<div>korisnika</div></a>
                <?php if ($user[0]->user_level>=1): ?>    
                        <div class="uk-dropdown">
                            <ul class="uk-nav uk-nav-dropdown">
                                <li><a href="<?php echo base_url() ?>humanresources/izmeni_profil" class="">Izmeni Profil</a></li>
                            </ul>
                        </div>
                <?php endif; ?>        
                    </li>
                <?php if ($user[0]->user_level>=1): ?>    <li data-uk-dropdown><a href="<?php echo base_url() ?>humanresources/opis_posla" class="uk-navbar-nav-subtitle">Opis posla<div>upitnik</div></a>
                        <div class="uk-dropdown">
                            <ul class="uk-nav uk-nav-dropdown">
                                <li><a href="<?php echo base_url() ?>humanresources/primeri" class="">Primeri</a></li>
                            </ul>
                        </div>
                    </li>
                    <li><a href="<?php echo base_url() ?>humanresources/finalna_verzija" class="uk-navbar-nav-subtitle">Opis Posla<div>verzija 1</div></a></li>
                    <li><a href="<?php echo base_url() ?>humanresources/finalna_verzija_nova" class="uk-navbar-nav-subtitle">Opis Posla<div>verzija 2</div></a></li><?php endif; ?>
                <?php if ($user[0]->user_level>=2): ?>     
                    <li  data-uk-dropdown><a href="<?php echo base_url() ?>humanresources/spisak_korisnika" class="uk-navbar-nav-subtitle">Lista korisnika<div></div></a>
                        <div class="uk-dropdown">
                            <ul class="uk-nav uk-nav-dropdown">
                                <li><a href="<?php echo base_url() ?>humanresources/spisak_korisnika" class="">Lista korisnika</a></li>
                                <li><a href="<?php echo base_url() ?>humanresources/dodaj_korisnika" class="">Dodaj korisnika</a></li>
                            </ul>
                        </div>
                    </li>
                <?php endif; ?>    
                    
                </ul>
                <div class="uk-navbar-flip">
                    <ul class="uk-navbar-nav">
                        <li><a href="<?php echo base_url() ?>humanresources/userLogout">Logout</a></li>
                    </ul>
                </div>
            </nav>
        </div>
    </div>-->
    <?php echo $menu ?>
        <div id="main">
            <div class="uk-container uk-container-center">
            
            <div class="uk-grid opisposla">
                <div id="upitnik" class="uk-width-3-4">
                
                    <div class="uk-panel uk-panel-box">
                        <h3 class="uk-panel-title"><i class="uk-icon-suitcase"></i> Opis posla</h3>
                        <div class="info-upitnik">
                        <?php if ($questionare->upitnik_prihvata): ?>
                            <span class="uk-button uk-icon-check-square-o uk-button-success">Prihvaćeno</span> 
                        <?php endif; ?>    
                        <?php if ($questionare->upitnik_odobrava): ?>    
                            <span class="uk-button uk-icon-check-square-o uk-button-success">Odobreno</span>
                        <?php endif; ?>    
                        </div>
                        <div>
                            <p>Hvala</p>
                        </div>

                        <form class="uk-form uk-form-horizontal uk-width-1-1"  method="post" action="<?php echo base_url(); ?>humanresources/odobriUserQuestionnaire">

                            <legend> 1. Identifikacija</legend>

                            <input type="hidden" id="upitnik-1-1" name="questionareUser" placeholder="Text input" value="<?php echo $questionare->user_id ?>">
   
                            <div class="uk-form-row">
                                <label class="uk-form-label" for="upitnik-1-1">1.1.    Naziv radnog mesta:</label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_1_1 ?>
                                </div>
                            </div>
                            <div class="uk-form-row">
                                <label class="uk-form-label" for="upitnik-1-2">1.2.    Ime i Prezime:</label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_1_2 ?>
                                    <input type="hidden" name="user_id" value="<?php echo $_REQUEST['user_id']; ?>">
                                </div>
                            </div>
                            <div class="uk-form-row">
                                <label class="uk-form-label" for="upitnik-1-3">1.3.    Lokacija:</label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_1_3 ?>
                                </div>
                            </div>
                            <div class="uk-form-row">
                                <label class="uk-form-label" for="upitnik-1-4">1.4.    Sektor:</label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_1_4 ?>
                                </div>
                            </div>
                            <div class="uk-form-row">
                                <label class="uk-form-label" for="upitnik-1-5">1.5.    Naziv radnog mesta Vašeg neposrednog rukovodioca:</label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_1_5 ?>
                                </div>
                            </div>
                            <p class="uk-text-success">Popunjavaju samo rukovodioci:</p>
                            <div class="uk-form-row">
                                <label class="uk-form-label" for="upitnik-1-6">1.6.        Naziv sektora/ maloprodajnog objekta kojim Vi rukovodite :</label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_1_6 ?>
                                </div>
                            </div>
                            <div class="uk-form-row">
                                <label class="uk-form-label" for="upitnik-1-7">1.7.        Zaposleni kojima Vi neposredno rukovodite – nazivi njihovih radnih mesta :</label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_1_7 ?>
                                </div>
                            </div>

                            <legend>2. Sadržaj posla</legend>
                            <div class="uk-form-row">
                                <label class="uk-form-label" for="upitnik-2-1">2.1.    Svrha posla <small>(napisati u jednoj rečenici)</small>:</label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_2_1 ?>
                                </div>
                            </div>
                            <p class="">2.2.    Zaduženja i odgovornosti na poslu:</p>
                            <div class="uk-form-row">
                                
                                <label class="uk-form-label" for="upitnik-2-2-1">•    Dnevna zaduženja:</label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_2_2_1 ?>
                                </div>
                            </div>
                            <p class="">•  Periodična zaduženja </p>
                            <div class="uk-form-row">
                                
                                <label class="uk-form-label" for="upitnik-2-2-2">-nedeljna:</label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_2_2_2 ?>
                                </div>
                            </div>
                            <div class="uk-form-row">
                                <label class="uk-form-label" for="upitnik-2-2-3">-mesečna:</label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_2_2_3 ?>
                                </div>
                            </div>
                            <div class="uk-form-row">
                                <label class="uk-form-label" for="upitnik-2-2-4">-tromesečna:</label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_2_2_4 ?>
                                </div>
                            </div>
                            <div class="uk-form-row">
                                <label class="uk-form-label" for="upitnik-2-2-5">-polugodišnja:</label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_2_2_5 ?>
                                </div>
                            </div>
                            <div class="uk-form-row">
                                <label class="uk-form-label" for="upitnik-2-2-6">-godišnja:</label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_2_2_6 ?>
                                </div>
                            </div>
                            <div class="uk-form-row">
                                
                                <label class="uk-form-label" for="upitnik-2-2-7">•   Zaduženja koja se pojavljuju u neredovnim intervalima:</label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_2_2_7 ?>
                                </div>
                            </div>
                            <p class="">2.3.    Ovlašćenja koja imate na svom radnom mestu:</p>
                            <div class="uk-form-row">
                                
                                <label class="uk-form-label" for="upitnik-2-3-1">•    da odlučujete o <small>(navesti o čemu imate pravo da samostalno odlučujete na ovom radnom mestu)</small>: </label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_2_3_1 ?>
                                </div>
                            </div>
                            <div class="uk-form-row">
                                
                                <label class="uk-form-label" for="upitnik-2-3-2">•   da potpisujete <small>(navesti koja dokumenta potpisujete na  ovom radnom mestu)</small>: </label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_2_3_2 ?>
                                </div>
                            </div>
                            <div class="uk-form-row">
                                <label class="uk-form-label" for="upitnik-2-4">2.4.     Da li su svom radu primenjujete neke procedure, pravilnike i pisane instrukcije <small>(Ako je odgovor DA napisati koje)</small>:</label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_2_4 ?>
                                </div>
                            </div>
                            <div class="uk-form-row">
                                <label class="uk-form-label" for="upitnik-2-5">2.5.     Da li smatrate da obavljate neka zaduženja za koja mislite da ne pripadaju Vašem radnom mestu ili da su  generalno nepotrebna <small>(Ako je odgovor DA, molim Vas da objasnite)</small>:</label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_2_5 ?>
                                </div>
                            </div>
                            <div class="uk-form-row">
                                <label class="uk-form-label" for="upitnik-2-6">2.6.     Da li smatrate da treba da obavljate neka zaduženja koja sada nisu uključena u Vaš posao  <small>(Ako je odgovor DA, molim Vas da objasnite)</small>:</label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_2_6 ?>
                                </div>
                            </div>
                            <p class="">2.7.    Ključni Kontakti:</p>
                            <div class="uk-form-row">
                                
                                <label class="uk-form-label" for="upitnik-2-7-1">•    Interni kontakti <small>(sa kim kontaktirate, u kompaniji, vezano za obavljanje Vašeg posla)</small>: </label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_2_7_1 ?>
                                </div>
                            </div>
                            <div class="uk-form-row">
                                
                                <label class="uk-form-label" for="upitnik-2-7-2">•    Eksterni kontakti  <small>(sa kim kontaktirate, van kompanije, vezano za obavljanje Vašeg posla)</small>: </label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_2_7_2 ?>
                                </div>
                            </div>
                            <legend>3. Specifičnosti</legend>
                            <small>Osnovni zahtevi</small>
                            <div class="uk-form-row">
                                
                                <label class="uk-form-label" for="upitnik-3-1">3.1.    Obrazovanje <small>(navedite nivo Vašeg obrazovanja i struku)</small>: </label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_3_1 ?>
                                </div>
                            </div>
                            <p>3.2.    Iskustvo <small>(navedite koliko je iskustva, po Vašem mišljenju, potrebno za rad na ovom radnom mestu)</small>:</p>
                            <div class="uk-form-row ceored">
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_3_2 ?><br />
                                </div>
                            </div>
                            <div class="uk-form-row">
                                
                                <label class="uk-form-label" for="upitnik-3-3">3.3.   Navedite iskustvo koje ste Vi imali na istim i sličnim poslovima kada ste počeli da radite na ovom radnom mestu u kompaniji: </label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_3_3 ?>
                                </div>
                            </div>
                            <small>Dodatni zahtevi</small>
                            <div class="uk-form-row">
                                
                                <label class="uk-form-label" for="upitnik-3-4">3.4.    Navedite koja stručna znanja  treba da ima zaposleni na ovom radnom mestu  <small>(razni sertifikati, rad na računaru, znanje stranih jezika, vozačka dozvola i drugo)</small>: </label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_3_4 ?>
                                </div>
                            </div>
                            <div class="uk-form-row">
                                
                                <label class="uk-form-label" for="upitnik-3-5">3.5.    Navedite koje veštine treba da ima zaposleni na ovom radnom mestu  <small>(komunikativnost, sposobnost rešavanja problema, pregovaračke sposobnosti i drugo)</small>: </label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_3_5 ?>
                                </div>
                            </div>
                            <small>Okolinosti</small>
                            <p>3.6.    Mobilnost na radnom mestu  <small>(da li na ovom radnom mestu postoji potreba za putovanjem i terenskim radom)</small>:</p>
                            <div class="uk-form-row ceored">
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_3_6 ?><br />
                                </div>
                            </div>
                            <div class="uk-form-row">
                                
                                <label class="uk-form-label" for="upitnik-3-7">3.7.    Zaduženja za opremu i ostalo   <small>(navedite koju opremu koristite za obavljanje posla na Vašem radnom mestu)</small>: </label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_3_7 ?>
                                </div>
                            </div>
                            <div class="uk-form-row">
                                
                                <label class="uk-form-label" for="upitnik-3-8">3.8.    Ostalo što je bitno za radno mesto, a nije obuhvaćeno upitnikom: </label>
                                <div class="uk-form-controls">
                                    <?php echo $questionare->upitnik_3_8 ?>
                                </div>
                            </div>
                            <hr>
                             <legend>Komentar</legend>
                             <div class="info-upitnik">
                                <span class="uk-button uk-icon-check-square-o uk-button-success">Prihvaćeno</span>
                             </div>
                            <div class="uk-form-row">
                                    <?php echo $questionare->upitnik_prihvata ?>
                            </div>
                            <?php if ($questionare->upitnik_odobrava): ?>
                            <hr />
                            <div class="info-upitnik">
                                <span class="uk-button uk-icon-check-square-o uk-button-success">Odobreno</span>
                             </div>
                            <div class="uk-form-row">
                                    <?php echo $questionare->upitnik_odobrava ?>
                            </div>
                            <?php else: ?>
                                <?php if ($user[0]->user_level>=2): ?>     
                                 <div class="uk-form-row">
                                    <textarea id="upitnik-odobrava" name="upitnik-odobrava" cols="30" rows="5" placeholder="Textarea text"><?php echo $questionare->upitnik_odobrava ?></textarea>
                                </div> 
                                <hr>
                                <div class="uk-form-row uk-width-1-6 uk-text-left">
                                        <input class="uk-button uk-button-primary" type="submit" value="Odobravam">
                                </div>  
                                <?php endif; ?>
                            <?php endif; ?>
                        </form>

                    </div>
                </div>
                <div id="komentari" class="uk-width-1-4">
                    <div class="uk-panel uk-panel-box">
                        <h3 class="uk-panel-title"><i class="uk-icon-comment"></i> Komentari</h3>
                        <p>Ovde nema forme za slanje, samo vec napisani komentari</p>
                         <hr>
                    </div>
                     <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_1_1 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_1_1 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                       <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_1_2 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_1_2 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_1_3 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_1_3 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($user[0]->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($user[0]->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_1_4 ?></p>    
                            </div>

                        </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_1_5 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_1_5 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_1_6 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_1_6 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_1_7 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_1_7 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_2_1 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_2_1 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_2_2_1 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_2_2_1 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_2_2_2 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_2_2_2 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_2_2_3 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_2_2_3 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                        </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_2_2_4 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_2_2_4 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_2_2_5 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_2_2_5 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_2_2_6 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_2_2_6 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_2_2_7 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_2_2_7 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_2_3_1 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_2_3_1 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_2_3_2 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_2_3_2 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_2_4 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_2_4 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_2_5 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_2_5 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_2_6 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_2_6 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_2_7_1 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_2_7_1 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_2_7_2 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_2_7_2 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_3_1 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_3_1 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_3_2 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_3_2 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_3_3 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_3_3 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_3_4 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_3_4 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_3_5 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_3_5 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_3_6 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_3_6 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_3_7 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_3_7 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                    <div class="komentar zatvoren">
                        <button class="broj-komentara uk-button" type="button">Nema komentara</button><button class="zatvori-komentar uk-button uk-close uk-close-alt" type="button"></button><?php if (($user[0]->user_level>=2)): ?><button class="napisi-komentar uk-button uk-icon-pencil  uk-close-alt" type="button"></button><?php endif; ?>
                        <article>
                            <?php if ($comments): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments->komentar_3_8 ?></p>
                            </div>
                            <?php endif; ?>
                            <?php if ($comments2): ?>
                            <div class="komentar-sadrzaj uk-panel uk-panel-box <?php if ($user[0]->user_level==3): ?>uk-panel-box-primary<?php endif; ?>">
                                <?php if ($comments2->user_level==3): ?>
                                <div class="uk-panel-badge uk-badge">administrator</div>
                                <?php endif; ?>
                                <?php if ($comments2->user_level==2): ?>
                                <div class="uk-panel-badge uk-badge  uk-badge-success">supervizor</div>
                                <?php endif; ?>
                                <p><?php echo $comments2->komentar_3_8 ?></p>
                            </div>
                            <?php endif; ?>
                           </article>
                    </div>
                </div>
            </div>
        </div>
        </div>    
        <div id="futer">
            <div class="uk-container uk-container-center uk-text-center">
 Merit Plan &copy; 2013 
            </div>
        </div>
        <!-- Scripts -->
        <script src="<?php echo base_url() ?>js/vendor/jquery-1.10.2.min.js"></script>
        <script src="<?php echo base_url() ?>js/vendor/uikit.min.js"></script>
        <script src="<?php echo base_url() ?>js/plugins.js"></script>
        <script src="<?php echo base_url() ?>js/main.js"></script>
        <script type="text/javascript">
            $('.nema-komentara .broj-komentara').attr('disabled', '');
        </script>
        <!-- Google Analytics -->

    </body>
</html>
